<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <!--
    <link href="../static/bootstrap/css/bootstrap-responsive.css" rel="stylesheet" type="text/css"/>
    <link href="../static/bootstrap/css/docs.css" rel="stylesheet" type="text/css"/>
    -->
   <link href="/static/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css"/>
   <link href="/static/viewback/css/mycss.css" rel="stylesheet" type="text/css"/>
   <title>板块列表</title>
</head>
<body>
<div class="header"></div>
<include file="public:header"/>
<ul class="breadcrumb">
    <li>
      <a href="/Admin/user/userList" title="后台管理"><i class="icon-home"></i></a> <span class="divider">/</span>
    </li>
    <li>
      <a href="/Admin/forum/forumList" title="板块管理">版块管理</a> <span class="divider">/</span>
    </li>
    <li class="active" title="板块列表">版块列表</li>
 </ul>
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span2">
                <include file="public:leftbar"/>
            </div>
            <div class="span10">
                <div class="">
                    <fieldset>
                        <legend><h3>版块列表</h3></legend>
                        <table class="table table-bordered table-hover">
                            <thead><tr><td>ID</td><td>版块图标</td><td>版块名称</td><td>父版区名称</td><td>主题数</td><td>精华帖数</td><td>操作</td></tr></thead>
                            <tbody>
                                <volist name="forum" id="list">
                                <tr><td>{$list.id}</td><td><img src="{$list.banner}" width="60px"/></td><td><a href="#" class="banner" data-content='<img src="{$list.banner}"/>' data-original-title="{$list.forum_name}">{$list.forum_name}</a></td><td>{$list.parent_forum_name}</td><td>{$list.theme_count}</td><td>{$list.good_posts_count}</td><td><a href="/Admin/forum/forumEdit?forum_id={$list.id}" class="btn btn-primary">编辑</a><br/><br/><a href="/Admin/forum/forumDrop?forum_id={$list.id}" class="btn btn-danger" onclick="return confirm('确定删除？');">删除</a></td></tr>
                                </volist>
                            </tbody>
                        </table> 
                        {$pagestring}
                    </fieldset>
                </div>
               
            </div>
        </div>
</div>
<div class="footer"></div>
<include file="public:footer"/>
<script type="text/javascript" src="/static/viewback/js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="/static/bootstrap/js/bootstrap.js"></script>
<script type="text/javascript" src="/static/bootstrap/js/bootstrap-popover.js"></script>

<script type="text/javascript">
    $(document).ready(function(){
       $('.banner').popover(animation=true,placement='left',trigger='hover',delay=0);
    });
</script>
</body>
</html>

